<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>爱车服务商品列表</title>
    <#include "/view/admin/headList.html"/>
    <script type="text/javascript">

        $(function() {
            //初始化
        });
    </script>
</head>
<body>


<div class="table-class">



    <table class="table table-hover table-list table-bordered">
        <thead>
        <tr>
            <td class="table-head-btn">
                <div style="text-align:left;margin-left: 50px;">
                    <@shiro.hasPermission name="5.5.4">
                    <a href="${base}/czjjqcb/add.do" class="btn btn-primary">新增</a>
                </@shiro.hasPermission>
            </div>
            </td>
        </tr>
        <tr class="table-head">
            <th>序号</th>
                <th class="label-hidden">主键</th>
                <th>图片</th>
                <th>标题</th>
                <th>内容</th>
                <th>外链接</th>
                <th>序号</th>
                <th>原价</th>
                <th>现价</th>

            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pagination.list as c>
            <tr>
                <td>${(pagination.pageNo-1)*pagination.pageSize+1+c_index}</td>
                        <td class="label-hidden">${c.jqcbId!}</td>
                        <td><img src="${base}${c.picPath!}" height="50px"></td>
                            <td>${c.title!}</td>

                            <td>${c.content!}</td>

                            <td>${c.url!}</td>

                            <td>${c.orderby!}</td>

                            <td>${c.originalPrice!}</td>

                            <td>${c.presentPrice!}</td>


                <td>
                 <@shiro.hasPermission name="5.5.1"> 
                    <a href="${base}/czjjqcb/detail.do?jqcbId=${c.jqcbId!}" class="btn btn-primary">详情</a>
                 </@shiro.hasPermission>
                 <@shiro.hasPermission name="5.5.2">    
                    <a href="${base}/czjjqcb/add.do?jqcbId=${c.jqcbId!}" class="btn btn-primary">修改</a>
                 </@shiro.hasPermission>
                 <@shiro.hasPermission name="5.5.3">                    
                    <a href="javascript:checkDelete('${base}/czjjqcb/delete.do?jqcbId=${c.jqcbId!}')" class="btn btn-primary">删除</a>
                 </@shiro.hasPermission>               
                </td>
            </tr>


        </#list>







        </tbody>
    </table>



</div>
<script>

    function queryCondition(){
        var href="";
        href+='title=';
        location.href=href;
    }
</script>

</body>
</html>
